ReactiveList.IndexOf(T) method¶
Defined in
Type: ReactiveListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public int IndexOf(T item) -
public int IndexOf(object? value)
1. Overload¶
public int IndexOf(T item)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IList<T>. The member doesn't override them on this type.
Summary: Determines the index of a specific item in the IList (opens in a new tab).
Parameters
| Name | Type | Description |
|---|---|---|
item | T | The object to locate in the IList (opens in a new tab). |
Returns: int (opens in a new tab) -- The index of item if found in the list; otherwise, -1.
2. Overload¶
public int IndexOf(object? value)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IList. The member doesn't override them on this type.
Summary: Determines the index of a specific item in the IList (opens in a new tab).
Parameters
| Name | Type | Description |
|---|---|---|
value | object? (opens in a new tab) | The object to locate in the IList (opens in a new tab). |
Returns: int (opens in a new tab) -- The index of value if found in the list; otherwise, -1.